<div id="events_attending">
    <h3>Events attending</h3>
    <? foreach ($events_attending as $event_attending):?>
            <div class="events_attending">
                <h4><?=$event_attending->title?> @ <?=date('d/m/Y H:i', strtotime($event_attending->date))?></h4>
            </div>
     <?endforeach; ?>
</div>